package com.wiki.gds.member.provider;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * Created by Administrator on 2017/7/16.
 */

@SpringBootApplication
@EnableDiscoveryClient          //通过该注解，实现服务发现，注册
@EnableFeignClients(basePackages = {"com.wiki.gds.*.facade"})
@ComponentScan(basePackages={"com.wiki.gds.member.provider"
        ,"com.wiki.gds.base.web"
        ,"com.wiki.gds.base.security.*"
})//扫描其他模块包
public class MemberProviderApplication {
    public static void main(String args[]){

        SpringApplication.run(MemberProviderApplication.class, args);
    }
}


